import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询用户消息列表
export function listUserMessage(query) {
  return request({
    url: '/system/usermessage/list',
    method: 'get',
    params: query
  })
}

// 新增用户消息
export function addUserMessage(data) {
  return request({
    url: '/system/usermessage/add',
    method: 'post',
    data: data
  })
}
